#!/usr/bin/env bash
# 实例文件：parseViaRead
#
# 用read语句解析ls-l的输出
# ls -l的输出类似于以一这样
# -rw-r--r--  1 zhaofeng  staff   96  4  9 20:10 parseHtml
ls -l $1 | { read PERMS LCOUNT OWNER GROUP SIZE CRMONTH CRDATE  CRTIME FILE ;
                echo $FILE has $LCOUNT 'link(s)' and is $SIZE bytes long. ;
 }

